<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar showCompany  :datas="{formData:form}" companyType="COMPANY_AAB000_EXACT" cpTagType="COMPANY_SIMPLE_GROUP">
            </epl-top-bar>
            <epl-userMessage idCount="2" dataType="company" :panel="panel">
            </epl-userMessage>
            <el-card class="ep-card">
                <el-form :model="form" ref="form" :rules="rules">
                    <!--<ep-title>单位参保信息</ep-title>-->
                    <!--<el-row :gutter="10">-->
                        <!--<ep-input colspan="8" label="单位参保日期" name="aab050"  :property="form.aab050" p="D"-->
                                  <!--:datas="{formData:form}"></ep-input>-->
                        <!--<ep-input colspan="8" label="单位参保状态" name="aab051"  :property="form.aab051" p="D"-->
                                  <!--:datas="{formData:form}"></ep-input>-->
                    <!--</el-row>-->
                    <ep-title>单位银行信息</ep-title>
                    <el-row :gutter="10">
                        <ep-input colspan="8" label="发放银行" name="aaz065" :property="form.aaz065" p="D"
                                  :datas="{formData:form}"></ep-input>
                        <ep-input colspan="8" label="银行账号" name="aae010" :property="form.aae010" p="D"
                                  :datas="{formData:form}"></ep-input>
                        <ep-input colspan="8" label="银行开户名" name="aae009" :property="form.aae009" p="D"
                                  :datas="{formData:form}"></ep-input>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-input colspan="8" label="开户行行号" name="aaf002" :property="form.aaf002" p="D"
                                  :datas="{formData:form}"></ep-input>
                        <ep-input colspan="16" label="开户银行名称" name="bac049" :property="form.bac049" p="D"
                                  :datas="{formData:form}"></ep-input>
                    </el-row>
                    <ep-title>请输入变更信息</ep-title>
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="是否精减单位" name="isreduce" codetype="ISREDUCE"  placeholder="请选择是否精减单位" :property="form.isreduce" p="R"
                                  :datas="{formData:form}"></ep-select>
                        <ep-date colspan="8" label="变更日期" name="aae035"  :property="form.aae035" p="R"
                                  placeholder="请选择变更日期" :datas="{formData:form}" rules="this.$localRules.DateCheck"></ep-date>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-textarea :rows="3" colspan="24" label="备注" name="aae013" :property="form.aae013"
                                     placeholder="请输入备注" p="E" :datas="{formData:form}"></ep-textarea>
                    </el-row>

                    <el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" type="primary" top="20" bottom="20" ref="save" @formValidate="formValidate"
                                       :validate="['form']"
                                       :datas="{formData: form,panel:panel}"></ep-saveButton>
                    </el-row>
                </el-form>
            </el-card>
        </el-main>
    </el-main>
</template>

<script src="../js/ReduceCorpAddJS.js"></script>
